ComponentOne Data Source for Entity Framework
C1.LiveLinq.Listeners Namespace / PropertyChangeListener<T> Class
The type of the elements in the collection.
Members

In This Topic
    PropertyChangeListener<T> Class
    In This Topic
    Represents a listener object used by LiveLinq to receive notifications of changes to property values in a collection element object. Represents a listener object used by LiveLinq to receive notifications of changes to property values in a collection element object.
    Object Model
    PropertyChangeListener<T> Class
    Syntax
    'Declaration
     
    
    Public MustInherit Class PropertyChangeListener(Of T) 
    public abstract class PropertyChangeListener<T> 
    Type Parameters
    T
    The type of the elements in the collection.
    Remarks

    In most cases, the default listener mechanism performs its function and does not need user intervention. As an advanced functionality, LiveLinq allows the user to customize default listeners. It may be needed in those rare cases when you use C1.LiveLinq.Collections.IndexedCollection<T> with element class T that does not provide property change notifications, and you can't add such notifications, nor by deriving the class from C1.LiveLinq.Collections.IndexableObject nor by other means, but you have some other way of knowing when property changes occur (maybe you can listen to some events, for example).

    Then you can define your own class derived from the base class PropertyChangeListener<T> and pass an object of that class to the C1.LiveLinq.Collections.IndexedCollection<T> constructor.

    Inheritance Hierarchy

    System.Object
       C1.LiveLinq.Listeners.PropertyChangeListener<T>

    See Also